# -*- coding: utf-8 -*-


CHECK_ITEM_TYPE = [
    (15, u"半月维保"),
    (90, u"季度维保"),
    (180, u"半年维保"),
    (360, u"年度维保")
]

ORDER_STATE = [
    (1, "已上传待合并"),
    (2, "已合并待物业确认"),
    (3, "已完成")
]

CHECK_RESULT = [
    (1, "√正常"),
    (2, "△已整改"),
    (3, "○已更换零部件"),
    (4, "x请求支持"),
    (5, "-无此项")
]

CHECK_ITEM_SCOPE_TYPE = [
    ('0', '国家规定'), 
    ('1', "地方规定"), 
    ('2', "维保单位自定义")
]

def get_deviation_type_day():
    # 获取生成工单类型误差天数
    return 5